package main

import "fmt"

type User struct {
	Name  string
	Email string
}

func (u *User) Notify() {
	fmt.Printf("%v : %v \n", u.Name, u.Email)
	u.Name = "other"
}

func main() {
	u1 := User{"golang", "golang@golang.com"}
	u1.Notify()
	u1.Notify()
}
